<section id = "doc_faq" data-view = "true" data-view-title = "FAQ">
	<header>
		<a class = "nav-back" data-view-rel = ":back"></a>
		<span>FAQ</span>
		<a class = "menu"></a>
	</header>
	<div class = "body">
		<ol>
			<li>
				<p>FAQ：如何确定进入视图的源视图？</p>
				<p>视图可以在<span class = "code js">ready</span>及<span class = "code js">enter</span>事件的监听句柄中获取进入视图的源视图。如：</p>
				<div class = "code js" >
View.ofId("detail").on("enter", function(e){
View sourceView = e.data.sourceView;
	console.log(sourceView.getId());
});
				</div>
			</li>
			<li>
				<p>FAQ：如何获取要进入到的目标视图？</p>
				<p>视图可以在<span class = "code js">leave</span>事件的监听句柄中获取要进入到的目标视图。如：</p>
				<div class = "code js" >
View.ofId("detail").on("leave", function(){
	console.log(e.data.targetView.getId());
});
				</div>
			</li>
		</ol>
	</div>
	<footer><div class = "btn next">下一节</div></footer>
</section>